package com.sdu.shanyimisapi.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author lihaopeng
 * @version 1.0
 * @project shanyi-mis-api
 * @description WebSocket配置类
 * @since 2024/4/13 11:37
 */
@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
